let demoList = [{
  id: 1,
  name: 'zs',
  age: '23',
  job: '前端工程师'
},{
  id: 2,
  name: 'ww',
  age: '24',
  job: '后端工程师'
}]

module.exports = (req) => {
  let res = {
    code: 200,
    msg: '书列表',
    data: {
      lists: demoList,
      desc: '请求书籍信息'
    }
  }
  return req ? Object.assign(res, req) : res
}
